﻿using System.Drawing;

namespace GMapNET
{
   internal class TileCoordinate
   {
      Point pos = new Point();
      private int zoom;               

      public int Zoom
      {
         get
         {
            return zoom;
         }
         private set
         {
            zoom = value;
         }
      }  
    
      public Point Pos
      {
         get
         {
            return pos;
         }
      }

      public TileCoordinate(int y, int x, int zoom)
      {
         pos.X = x;
         pos.Y = y;
         this.Zoom = zoom;
      }

      public TileCoordinate(Point p, int zoom)
      {
         pos = p;
         this.Zoom = zoom;
      }        
   }
}
